<?php

defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.view');

class HolaMundoViewHolaMundo extends JView{
	
	function display($tpl = null){
		
		$this->msg = $this->get('Msg');

		// Check for errors.
		if (count($errors = $this->get('Errors'))){
			
			JError::raiseError(500, implode('<br />', $errors));
			return false;
		}
		// Display the view
		parent::display($tpl);
	}
}
